package com.cys.dm.client.order;

import com.cys.dm.entity.order.DmOrderLinkUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * @author blue_t
 * @date 2020-12-23 18:15
 */
@FeignClient(name = "dm-order-provider")
@Component
public interface DmOrderLinkUserClient {
    @PostMapping(path = {"addOrderLinkUser"})
    public Integer addOrderLinkUser(@RequestBody DmOrderLinkUser dmOrderLinkUser);

    @PostMapping(path = {"deleteOrderLinkUser"})
    public Integer deleteOrderLinkUser(@RequestBody DmOrderLinkUser dmOrderLinkUser);
}
